package gameLogic;

import java.awt.Color;

import gameElements.GBall;
import gameElements.GBox;
import gameElements.GBrick;

/**
 * Track001.java
 * 
 * Fredrik Wallenius and Peter Steiner 
 * DP08 - KTH - 2009
 *
 */
public class Track001 extends TrackEngine{
	
	

	public Track001(){
		super();
		this.trackName = "Me so tiny!";
		this.trackId = 1;
	}
	
	/**
	 * Run once before start. Will give the ElementHandler the bricks and balls
	 * and other init data
	 */
	public void initiateTrack(){

		GBall a = new GBall((double) 200, (double) 200, Color.blue, 15.0, elHandler.getElements());
		a.setVelocity(18.0, 19.0);
		a.setBoundingBox(WIDTH, HEIGHT);
		elHandler.addGfxElement(a);

		
		GBox b;
		
		b = new GBrick((float) 500, (float) 50, Color.green, 75.0, 25.0, true, true, 1);
		b.setBoundingBox(WIDTH, HEIGHT);
		elHandler.addGfxElement(b);
		
		
		
		super.initiateTrack();   // <-----  Do NOT remove!!!
	}
	
	public void start(){
		super.start();
	}
	
	

}
